class test8
{
    public static void main ( String [ ] arg )
    {
        int n;
        n = 99;
        if (n < 1000 && n < 100)
        {
            System.out.println(1);
        }
        else
        {
            System.out.println(2);
        }
    }
}